<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WhittleList.Bll.Project>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="TopContent" runat="server">
   <h2>Edit (<%=Model.Name %>)</h2>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="colOne">
    <div class="colTwo colLeft">
        <div class="bordered clearfix">
            <div class="inside">
                <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
                <form method="post" class="form" action="/Project/Edit/3?siteId=1">
                    <%--<% using (Html.BeginForm()){%>--%>
                    <%--null, null, FormMethod.Post, new { @class = "form" }--%>
                    
                    <%=Html.AntiForgeryToken() %>
                    
                    <%= Html.Hidden("CID") %>
                    
                    <dl>
                        <dt>
                            <label for="Name">Project Name:</label>
                        </dt>
                        <dd>
                            <span class="input-wrap">
                                <%= Html.TextBox("Name", Model.Name)%>
                                <%= Html.ValidationMessage("Name", "*") %>
                                <%--<%= Html.TextArea("Description", null, new { @class = "create-proposal-text", @id = "Description" })%>--%>
                            </span>
                        </dd>
                        <dt>
                            <label for="Summary">Project Summary:</label>
                        </dt>
                        <dd>
                            <span class="input-wrap">
                                <%= Html.TextArea("Summary", Model.Summary) %>
                                <%= Html.ValidationMessage("Summary", "*") %>
                            </span>
                        </dd>
                    </dl>
                    <div class="buttons">
                        <button class="button" type="submit">Save</button>
                        <a class="btnLnk ui-state-default ui-corner-all" href="<%= Url.Project(Model, "Details") %>">
                            <span class="ui-icon ui-icon-closethick"></span>Cancel</a>
        
                    </div>
                </form>
                <%--<% } %>--%>
            </div>
        </div>
<div>
            
        </div>
    </div>
</div>
</asp:Content>
